xenpm trace utility gtraceview cleanup
- add gtraceview help info on how to get raw data by xentrace
- make trace_exit_reason compiled in non-debug mode. trace_exit_reason
can be enable/disabled by xentrace at runtime, so no need to disable
it at build time.
Signed-off-by: Yu Ke <ke.yu@intel.com>
{
show_version();
printf("tracestat <trace.data> [-vhdselbcmau]\n");
- printf(" trace.data raw data from xentrace\n");
+ printf(" trace.data raw data got by 'xentrace -e 0x80f000 trace.dat'\n");
printf(" -v / --version show version message\n");
printf(" -h / --help show this message\n");
printf(" -d / --digest digest mode, more variables to specify.\n");
{
show_version();
printf("gtraceview <trace.data> [--version] [--help]\n");
- printf(" trace.data raw data from xentrace\n");
+ printf(" trace.data raw data got by "
+ "'xentrace -e 0x80f000 trace.dat'\n");
printf(" --version show version information\n");
printf(" --help show this message\n");
printf("For more help messages, please press 'h' in the window\n");
static inline void trace_exit_reason(u32 *irq_traced)
{
-#ifdef DEBUG
if ( unlikely(tb_init_done) )
{
int i, curbit;
curbit = find_next_bit((const unsigned long *)irr_status, 256, curbit + 1);
}
}
-#endif
}
static void acpi_processor_idle(void)